-- GENERATED SPELL FOR [Farseer Kurkush] --


function spell0_18066(pUnit, Event) --@Call to Lightning,n/a--
pUnit:FullCastSpellOnTarget(32127,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18066', 584, 1)
end

function Sorts_18066(pUnit, Event)
local choix_sorts_18066 = math.random(0, 0)
if choix_sorts_18066 == 0 then
pUnit:RegisterEvent('spell0_18066', 1, 1)
end
end

function mob18066_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18066', math.random(1500, 3000), 1)
end

function mob18066_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18066_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18066_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18066, 1, 'mob18066_Action')
RegisterUnitEvent(18066, 2, 'mob18066_Leave')
RegisterUnitEvent(18066, 3, 'mob18066_Kill')
RegisterUnitEvent(18066, 4, 'mob18066_Die')
